package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.TeachplanDTO;
import com.xuecheng.api.content.model.vo.CourseBaseVO;
import com.xuecheng.api.content.model.vo.TeachPlanVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;

import java.util.List;

@Api(value = "课程计划信息管理")
public interface TeachPlanApi {

    @ApiOperation(value = "根据课程id查询课程计划树形结构(树形结构为三级目录)")
    TeachplanDTO queryTeachPlanByCourseId(Long courseId);

    @ApiOperation(value = "新增或修改课程计划")
    TeachplanDTO createOrModifyTeachPlan(TeachPlanVO vo);

    @ApiOperation(value = "删除课程计划")
    void deleteTeachPlan(Long teachPlanId);
}
